package com.kmist.xiakexing.data;

import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;

import com.kmist.xiakexing.tools.Config;
import com.kmist.xiakexing.utils.scene.MapBean;

public class NpcDao implements INpcDao {

    private static  final NpcDao ourInstance = new NpcDao();
    private XiakexingDBHelper xiakexingDBHelper;
    private SQLiteDatabase db;
    private Cursor c;
    private INpcDaoCallback mcallback;


    public static NpcDao getInstance() {
        return ourInstance;
    }
    private NpcDao(){
        xiakexingDBHelper = new XiakexingDBHelper(Config.context);
    }

    @Override
    public void setCallback(INpcDaoCallback callback) {
        this.mcallback = callback;
    }

    @Override
    public void getNpc(MapBean map, String pname) {

    }

    @Override
    public void delNpc(MapBean map, String pname) {

    }
}
